require_relative '../lex.rb'

# todo make a gem ... easy to debug

F = File.new "../script", "r"
lex = Stone::Lex.new F
lex.read_line
lex.read_line
lex.read_line
lex.read_line
lex.read_line
lex.read_line

lex.instance_eval { @tokens.each { |t| puts t } }

F.close
